package cos

type cosInvokeRes[T any] struct {
	StatusText string `json:"status"`
	Data       *T
}

type cosErrorRes struct {
	StatusText string `json:"status"`
	ErrorText  string `json:"error,omitempty"`
}

type CosClient struct {
	endpoint string
}

func NewClient(endpoint string) *CosClient {
	return &CosClient{
		endpoint: endpoint,
	}
}
